package com.ehome.poct.core.api.dto.check;

import com.ehome.core.entity.DTO;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * @author cq
 */
@Getter
@Accessors(chain = true)
public class CheckDataDTO extends DTO {
    @Setter
    private long id;
    private final long reqId;
    private final long clinicId;
    private final long patientId;
    private final int checkType;
    private final String deviceSno;
    private final String boardSno;
    private final String filePath;
    @Setter
    private final int status;
    @Setter
    private String abnormalMsg;
    @Setter
    private String result;
    @Setter
    private String chart;
    @Setter
    private LocalDateTime checkTime;


    public CheckDataDTO(long reqId, long clinicId, long patientId, int checkType, String deviceSno, String boardSno, int status, String filePath) {
        this.reqId = reqId;
        this.clinicId = clinicId;
        this.patientId = patientId;
        this.checkType = checkType;
        this.deviceSno = deviceSno;
        this.boardSno = boardSno;
        this.status = status;
        this.filePath = filePath;
    }
}
